/*
 * @version v 1.0
 *
 * @since 03-12-2012
 * 
 * 
 * @author Geoffrey, Lecerf
 */

package cercleSportif;

import java.util.Vector;

public class Cours {

	private float prix;
	private final int nbmin;
	private final int nbmax;
	private Vector<Inscription> inscription;
	private float tarif;
	
	public Cours(float prix, int nbmin, int nbmax,
			Vector<Inscription> inscriptions, float tarif) {
		this.prix = prix;
		this.nbmin = nbmin;
		this.nbmax = nbmax;
		this.inscription = inscriptions;
		this.tarif = tarif;
	} 

	public float getPrix() {
		return prix;
	}

	public void setPrix(float prix) {
		this.prix = prix;
	}

	public float getTarif() {
		return tarif;
	}

	public void setTarif(float tarif) {
		this.tarif = tarif;
	}

	public int getNbmin() {
		return nbmin;
	}

	public int getNbmax() {
		return nbmax;
	}

	public void addinscription (Inscription inscr){
		inscription.addElement(inscr);
	}

	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
